﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000095 RID: 149
	internal class FixInt16 : IInt16Decoder
	{
		// Token: 0x06000272 RID: 626 RVA: 0x0000B596 File Offset: 0x00009996
		private FixInt16()
		{
		}

		// Token: 0x06000273 RID: 627 RVA: 0x0000B59E File Offset: 0x0000999E
		public short Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (short)bytes[offset];
		}

		// Token: 0x040000B8 RID: 184
		internal static readonly IInt16Decoder Instance = new FixInt16();
	}
}
